package com.tanhua.model.vo;

import com.tanhua.model.soul.SoulOptions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OptionsVo {
    private String id;
    private String option;

    /*转换*/
    public static OptionsVo init(SoulOptions options){
        OptionsVo optionsVo = new OptionsVo();
        optionsVo.setId(options.getId().toString());
        optionsVo.setOption(options.getQuestionOption());
        return optionsVo;
    }
}
